#coding:utf-8
#built-in math module
import math
print("\n d a sin(a) cos(a)")
d = 15
while d <= 180:
a = math.radians(d)
ans = "{:3g} {:5.2f} {:5.2f} {:5.2f}"
print(ans.format(d, a, math.sin(a), math.cos(a)))
#浮動小数点数型(実数)は :幅.小数点以下何桁までf, :5.2f
d += 15